package com.itheima2;

public class Work03 {
    public static void main(String[] args) {
    int num =number(22);
        System.out.println(num);


    }
    public static int number(int i){
        if (i==1||i==2){
            return 1;
        }
        return number(i-2)+number(i-1);
    }
}
